📚 node [[megastructure image storage | image storage system]]
Welcome! Nobody has contributed anything to 'megastructure image storage | image storage system' yet. You can:
-
Write something in the document below!
- There is at least one public document in every node in the Agora. Whatever you write in it will be integrated and made available for the next visitor to read and edit.
- Write to the Agora from social media.
-
Sign up as a full Agora user.
- As a full user you will be able to contribute your personal notes and resources directly to this knowledge commons. Some setup required :)
⥅ related node [[megastructure_image_storage]]
⥅ node [[megastructure_image_storage]] pulled by Agora
In the [[Megastructure]], how do I store images? I have tons of them; photos, screenshots, drawings. I can't seem to stop amassing them. I used to find [[Cyberrachel]] as //the// solution to the problem, but years after I can confidently say that I was wrong. Something file-based is the way to go.
= Ontology of the Megastructure The ontology is best expressed with a formal language. I'm using [[Go]]'s type system here:. Pointers indicate the field's optional.
type Metadata struct {
tags []Tag
description *string
}
type ImageStorage []Domain
type Domain struct {
location Location // might be different computers altogether
albums []Album
}
type Album struct {
year uint
month *uint
title string
metadata *Metadata
images []Image
}
type Image struct {
year uint
month *uint
day *uint
metadata *Metadata
contents []byte
}
Fits the file system perfectly. Except I'm not exactly sure where to put the metadata. JSON files nearby?
Domains are synced with SyncThing.
I'm incorporating it.
Read this: => links>1612
📖 stoas
- public document at doc.anagora.org/megastructure-image-storage-|-image-storage-system
- video call at meet.jit.si/megastructure-image-storage-|-image-storage-system
🔎 full text search for 'megastructure image storage | image storage system'